﻿using EYangFramework.Domain.Entitys.ValueObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EYangFramework.Domain.Services
{
    public interface IAuthManagerService
    {
        bool UpdateRoleNavigations(List<Navigation> selectedNavigations, string roleName);
        bool UpdateRoleMenus(List<Menu> selectedMenus, string roleName);
        bool UpdateUserNavigations(List<Navigation> selectedNavigations, string userName);
        bool UpdatUserMenus(List<Menu> selectedMenus, string userName);
        void Dispose();
    }
}
